package com.quanxi.qxaimain.common.message;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author lyx
 * @create 2021/9/16 12:05
 * yml文件信息获取
 */
@Component
@Data
public class ymlConfig {
//    //域名
//    @Value("${domain:#{null}}")
//    private String domain;
    //端口号

    @Value("${regainDataUrl}")
     private    String regainDataUrl;

    @Value("${spring.datasource.druid.db5.username}")
    private    String username;


}